package ws.performancetest.tests.synchronization.db;

import ws.performancetest.tests.synchronization.enumaration.TestType;

/**
 * This class represents a single test entry.
 * 
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public class DBTest {

  private int ID;
  private int numberOfThreads;
  private String syncMec;
  private TestType testType;
  private int groupId;
  private DBCategory category;

  public DBTest() {
  }

  public DBTest(int ID, int categoryId, int numberOfThreads, String syncNec, TestType testType, int groupId) {
    this.ID = ID;
    this.numberOfThreads = numberOfThreads;
    this.syncMec = syncNec;
    this.testType = testType;
    this.groupId = groupId;
  }

  public int getID() {
    return ID;
  }

  public void setID(int ID) {
    this.ID = ID;
  }

  public int getGroupId() {
    return groupId;
  }

  public void setGroupId(int groupId) {
    this.groupId = groupId;
  }

  public int getNumberOfThreads() {
    return numberOfThreads;
  }

  public void setNumberOfThreads(int numberOfThreads) {
    this.numberOfThreads = numberOfThreads;
  }

  public String getSyncMec() {
    return syncMec;
  }

  public void setSyncMec(String syncMec) {
    this.syncMec = syncMec;
  }

  public TestType getTestType() {
    return testType;
  }

  public void setTestType(TestType testType) {
    this.testType = testType;
  }

  public DBCategory getCategory() {
    return category;
  }

  public void setCategory(DBCategory category) {
    this.category = category;
  }
}
